base64 decode how used in c#

149

base64 decode how used in c# -

public static string Base64Encode(string plainText) {
  var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);
  return System.Convert.ToBase64String(plainTextBytes);
}

Comments

Submit
0 Comments